!#/bin/bash

yum install gcc gcc-c++ make -y
yum install glibc-static wget net-tools -y

cd /usr/local/src/
wget https://gitee.com/zzhlinux911218/software/raw/master/chkrootkit.tar.gz --no-check-certificate
tar zxvf chkrootkit.tar.gz 
cd chkrootkit-0.53/
make sense 
mv /usr/local/src/chkrootkit-0.53 /usr/local/chkrootkit 

cd /usr/local/chkrootkit
cp chkrootkit  /usr/bin/
clear
echo "正在检测系统…………"
chkrootkit | grep INFECTED
